package com.gxa.pojo;

import io.swagger.annotations.ApiModel;

@ApiModel("操作管理实体")
public class Operation {
    private String operation_resource;//资源名称
    private String operation_type;//操作类型
    private String operation_name;//操作人
    private String operation_ip;//请求IP
    private String operation_result;//执行结果
    private String operation_describe;//应用描述
    private String operation_time;//操作时间
    private String operation_operate;//操作

    public Operation(){}
    public Operation(String operation_resource,String operation_type,String operation_name,String operation_ip,String operation_describe,String operation_operate,
                     String operation_result,String operation_time){
        this.operation_resource=operation_resource;
        this.operation_type=operation_type;
        this.operation_describe=operation_describe;
        this.operation_ip=operation_ip;
        this.operation_name=operation_name;
        this.operation_operate=operation_operate;
        this.operation_result=operation_result;
        this.operation_time=operation_time;
    }

    public String getOperation_resource() {
        return operation_resource;
    }

    public void setOperation_resource(String operation_resource) {
        this.operation_resource = operation_resource;
    }

    public String getOperation_type() {
        return operation_type;
    }

    public void setOperation_type(String operation_type) {
        this.operation_type = operation_type;
    }

    public String getOperation_name() {
        return operation_name;
    }

    public void setOperation_name(String operation_name) {
        this.operation_name = operation_name;
    }

    public String getOperation_ip() {
        return operation_ip;
    }

    public void setOperation_ip(String operation_ip) {
        this.operation_ip = operation_ip;
    }

    public String getOperation_result() {
        return operation_result;
    }

    public void setOperation_result(String operation_result) {
        this.operation_result = operation_result;
    }

    public String getOperation_describe() {
        return operation_describe;
    }

    public void setOperation_describe(String operation_describe) {
        this.operation_describe = operation_describe;
    }

    public String getOperation_time() {
        return operation_time;
    }

    public void setOperation_time(String operation_time) {
        this.operation_time = operation_time;
    }

    public String getOperation_operate() {
        return operation_operate;
    }

    public void setOperation_operate(String operation_operate) {
        this.operation_operate = operation_operate;
    }

    @Override
    public String toString(){
        return "Operation{"+
                "operation_resource='" + operation_resource + '\'' +
                ", operation_type='" + operation_type + '\'' +
                ", operation_describe='" + operation_describe + '\'' +
                ", operation_ip='" + operation_ip + '\'' +
                ", operation_name='" + operation_name + '\'' +
                ", operation_operate='" + operation_operate + '\'' +
                ", operation_result='" + operation_result + '\'' +
                ", operation_time='" + operation_time + '\'' +
                '}';
    }
}
